package com.bytedance.danmaku.render.engine.demo.danmu.widget.gradienttext

import android.graphics.Typeface
import com.bytedance.danmaku.render.engine.data.DanmakuData
import com.bytedance.danmaku.render.engine.demo.utils.DRAW_TYPE_GRADIENT_TEXT

/**
 * @Description: 渐变色文字数据
 * @Author yanxin
 * @Date:  2025/8/19
 */

class GradientTextData : DanmakuData() {
    override var drawType: Int = DRAW_TYPE_GRADIENT_TEXT

    var text: String? = null
    var textSize: Float? = null
    var textColor: Int? = null
    var typeface: Typeface? = null
    var textStrokeWidth: Float? = null
    var textStrokeColor: Int? = null
    var includeFontPadding: Boolean? = null
    var hasUnderline: Boolean = false
}